
	 <div class="carrouselContainer">
		<div id="carouselLogos">
			<a href="diario.php?diario=clarin"><img src="img/logos/clarin.jpg" width="150" style="border:none;" /></a>
			<a href="diario.php?diario=lanacion"><img src="img/logos/lanacion.jpg" width="150" style="border:none;" /></a>
			<a href="diario.php?diario=infonews"><img src="img/logos/infonews.jpg" width="150" style="border:none;"/></a>
			<a href="diario.php?diario=minutouno"><img src="img/logos/minutouno.jpg" width="150" style="border:none;" /></a>          
			<a href="diario.php?diario=pagina12"><img src="img/logos/pagina12.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=larazon"><img src="img/logos/larazon.jpg" width="150" style="border:none;" /></a>
			<a href="diario.php?diario=telam"><img src="img/logos/telam.jpg" width="150" style="border:none;" /></a>
			<a href="diario.php?diario=infobae"><img src="img/logos/infobae.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=elatlantico"><img src="img/logos/elatlantico.jpg" width="150" style="border:none;" /></a>
			<a href="diario.php?diario=ambito"><img src="img/logos/ambito.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=cronica"><img src="img/logos/cronica.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=lacapital"><img src="img/logos/lacapital.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=ole"><img src="img/logos/ole.jpg" width="150" style="border:none;" /></a>
            <a href="diario.php?diario=elespectador"><img src="img/logos/elespectador.jpg" width="150" style="border:none;" /></a>
        </div>
      </div>
<link rel="stylesheet" href="lib/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
<script type="text/javascript" src="lib/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.js"></script>
<script type="text/javascript" src="functions/js/acordeon.js"></script>
<?php


include_once('parsers/parser.php');
include_once('functions/printNews.php');


$diario = $_GET['diario'];

$property = 'properties/rssFeeds.xml';
$array_sources = simplexml_load_file($property);


foreach ($array_sources as $source){
	$short_name = $source->shortName;
	if ($short_name == $diario){
		$rss = $source->rssLocal;
		$name= $source->name;
		$shortName = $source->shortName;
		break;
	}
}
$news =  parse($rss, $name, $shortName);
$totalDeNews = count($news);
echo "<div class='sourceInfo'>";
?>
	
<?php
if ($totalDeNews > 0) {	
	echo "<img src='img/logos/".$diario.".jpg' width='150' style='border:none;' />";	
 }
echo "</div>";
printAllNewsFromSource($news, $shortName);


?>

<br /> <a class="linkSubir" href="#"><img src="img/top.png" style="border:none;""/></a>
